Value | Meaning |
---|---|
NONE0 | |
GL_USE_BLOCK1 << 0 | |
GL_USE_STD_1401 << 1 | |
D3D_USE_HLSL_41 << 2 | |
Blackbox1 << 3 | Meant for usage in uniform variables. That means one Shader Variable may not be sent to the backend depending on its requirements. An example for that is Array of Textures. In D3D11, it depends only on the resource being bound, while on Metal and GL3, they are required to be inside a MTLBuffer or being sent as an Uniform. |
MaxTextures1 << 4 |
Changes how the Shader behaves based on the backend